<?php
namespace Client\Controller;
use Think\Controller;
use Org\Net\Http;
class ModuleController extends Controller {
    public function index(){
    	$module = D('Module');
    	$list = $module->select();
    	
    	for($i=0;$i<count($list);$i++){
    		$list[$i]['scenics'] = json_decode($list[$i]['scenics']);
    		$list[$i]['diets'] = json_decode($list[$i]['diets']);
    		$list[$i]['hotels'] = json_decode($list[$i]['hotels']);
    	}
    	$this->ajaxReturn($list);
    }
    public function getModule(){
    	
    }
    public function add(){
    	
    	
    }
}